package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class UpdatabilityClause {

    private int beginIndex;
    private int endIndex;
    private boolean readOnly;
    private IdentifierList columnNameList;

    public UpdatabilityClause(int beginIndex,
                              int endIndex,
                              boolean readOnly,
                              IdentifierList columnNameList) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.readOnly = readOnly;
        this.columnNameList = columnNameList;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isReadOnly() {
        return readOnly;
    }

    public IdentifierList getColumnNameList() {
        return columnNameList;
    }

}
